<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>XX系统 - 合同信息查询展示</title>
<link rel="stylesheet" href="../../css/main.css">
<link rel="stylesheet"
	href="../../lib/font-awesome/css/font-awesome.css">
</head>
<body>
	<div class="box">
		<h3>展示合同信息</h3>
		<div>
			<a class="btn btn-primary" href="add.jsp">添加租凭合同信息</a>
		</div>
		<form action="" method="post">
			<table class="list">
				<tr>
					<th>序号</th>
					<th>合同号</th>
					<th>合同日期</th>
					<th>房租总额</th>
					<th>付款方式</th>
					<th>押金</th>
					<th>付款期数</th>
					<td>合同签署人</td>
					<td>合同状态</td>
					<th>操作</th>
				</tr>
				<tr>
					<td>${list.lc_id }</td>
					<td>${list.lc_contract_number }</td>
					<%-- <td>${list.flat_id }</td>
					<td>${list.tenant_id }</td> --%>
					<td>${list.lc_contract_date }</td>
					<td>${list.lc_total_rent }</td>
					<!-- <td>2	付款方式（0:月付、1:半年付、2:年付3：季付等）</td> -->
					<td>${list.lc_pay_way==0?'月付':list.lc_pay_way==1?'半年付':list.lc_pay_way==2?'年付':'季付' }</td>
					<td>${list.lc_deposit }</td>
					<!-- <td>7	付款期数（共需要付款几次）</td> -->
					<td>${list.lc_period_payment }</td>
					<td>${list.lc_contract_signer }</td>
					<!-- <td>0(合同状态（0已生效/1 已失效）)</td> -->
					<td>${list.lc_contract_state==0?'已生效':'已失效' }</td>
					<td><a class="fa fa-info" title="详情"
						href="../detailLeasecontractServlet?lc_id=${list.lc_id }"></a> <!-- <a class="fa fa-info" title="详情" href="#">
				&nbsp;&nbsp; --> &nbsp;&nbsp;<a class="fa fa-pencil" title="编辑"
						href="../editLeaseServlet?action=editShow&lc_id=${list.lc_id }"></a>
						&nbsp;&nbsp; <a class="fa fa-remove" title="删除"
						href="../deleteLeaseServlet?lc_id=${list.lc_id }"
						onclick="return confirmDelete(1)"></a></td>
			</table>
			<div class="buttons">
				<a class="btn btn-default" href="javascript:history.go(-1)">返回</a>
			</div>
		</form>
	</div>
</body>
</html>